﻿@{
    ViewBag.Title = "Wijzigen";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<input id="edit-key" type="hidden" />
<div data-role="fieldcontain">
    <label for="edit-datum">
        Datum:</label>
    <input id="edit-datum" type="text" />
</div>
<div data-role="fieldcontain">
    <label for="edit-omschrijving">
        Omschrijving:</label>
    <input id="edit-omschrijving" type="text" />
</div>
<div data-role="fieldcontain">
    <label for="edit-startkm">
        Startkm:</label>
    <input id="edit-startkm" type="text" />
</div>
<div data-role="fieldcontain">
    <label for="edit-eindkm">
        Eindkm:</label>
    <input id="edit-eindkm" type="text" />
</div>
<div data-role="fieldcontain">
    <a id="btnDelete" href="#" data-role="button" data-icon="delete" data-theme="b" rel="external">Verwijderen</a>
</div>
<script language="javascript" type="text/javascript">

    $(document).ready(function () {
        LoadEditKmDetails();
    });
   
</script>
@section AlternateHeader {
    <a href="javascript:redirectToHome();" id="terug" data-icon="delete">Annuleren</a>
    <h1>@ViewBag.Title</h1>
    <a href="javascript:UpdateKm();" data-icon="check" data-theme="b">Opslaan</a>
}
